import http from "../http";

function create(params: any = {}) {
	return http.myRequest({
		url: '/server/archive/create',
		method: 'post',
		data: params,
	})
}
function list(params: any = {}) {
	return http.myRequest({
		url: '/server/archive/list',
		method: 'post',
		data: params,
	})
}
function update(params: any = {}) {
	return http.myRequest({
		url: '/server/archive/update',
		method: 'post',
		data: params,
	})
}
function removeById(params: any = {}) {
	return http.myRequest({
		url: '/server/archive/removeById',
		method: 'post',
		data: params,
		header: {
			'content-type': 'application/x-www-form-urlencoded'
		},
	})
}
function setHeightWeight(params: any = {}) {
	return http.myRequest({
		url: '/server/archive/setHeightWeight',
		method: 'post',
		data: params,
	})
}
function setBloodPressure(params: any = {}) {
	return http.myRequest({
		url: '/server/archive/setBloodPressure',
		method: 'post',
		data: params,
	})
}
function setHealth(params: any = {}) {
	return http.myRequest({
		url: '/server/archive/setHealth',
		method: 'post',
		data: params,
	})
}
export default {
	create,
	list,
	update,
	removeById,
	setHeightWeight,
	setBloodPressure,
	setHealth,

}

